import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './init/js/rem'
import './init/css/reset.css'
import Api from './api/index'
import moment from 'moment'
import tool from './common/tool'
import sockets from './common/sockets'
import 'babel-polyfill'
Vue.config.productionTip = false
Vue.prototype.$api = Api
Vue.prototype.$moment = moment;
Vue.prototype.$tool = tool;
Vue.prototype.$sockets = sockets;
Vue.prototype.$loginUser = new Object();
Vue.prototype.$onlines = new Array();
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
